だいぶハマった
ならば /^タイトルが"([^\"]*)"であること$/ do |title|
actual = find(:xpath, "navigationBar")[:name]
actual = actual.chomp.encode("UTF8-MAC").encode("UTF-8")
actual.should == title
end
Go to list of users who liked
More than 5 years have passed since last update.
だいぶハマった
ならば /^タイトルが"([^\"]*)"であること$/ do |title|
actual = find(:xpath, "navigationBar")[:name]
actual = actual.chomp.encode("UTF8-MAC").encode("UTF-8")
actual.should == title
end
Register as a new user and use Qiita more conveniently
Go to list of users who liked