features/step_definitions/area_steps.rb in meeane-page-object-0.1.10 vs features/step_definitions/area_steps.rb in meeane-page-object-0.1.11
- old
+ new
@@ -1,19 +1,19 @@
-When /^I search for the area by "([^\"]*)"$/ do |how|
- @how = how
-end
-
-Then /^I should be able to click the area$/ do
- @page.send("area_#{@how}")
-end
-
-Then /^I should see the coordinates are "([^\"]*)"$/ do |coords|
- @element.coords.should == coords
-end
-
-Then /^I should see the shape is "([^\"]*)"$/ do |shape|
- @element.shape.should == shape
-end
-
-Then /^I should see the href is "([^\"]*)"$/ do |href|
- @element.href.should include href
-end
+When /^I search for the area by "([^\"]*)"$/ do |how|
+ @how = how
+end
+
+Then /^I should be able to click the area$/ do
+ @page.send("area_#{@how}")
+end
+
+Then /^I should see the coordinates are "([^\"]*)"$/ do |coords|
+ @element.coords.should == coords
+end
+
+Then /^I should see the shape is "([^\"]*)"$/ do |shape|
+ @element.shape.should == shape
+end
+
+Then /^I should see the href is "([^\"]*)"$/ do |href|
+ @element.href.should include href
+end