jjeremydiaz/OpenHouse

View on GitHub
features/step_definitions/search_steps.rb

Summary

Maintainability
A
0 mins
Test Coverage
And /I click the first "(.*)"/ do |l|
    first(:link, l).click
end

Then /I click a post with id "(.*)"/ do |id|
    first("a", id: id).click
end

Then /^I should see a map/ do
    expect(page.body.include?("<div id='map'")).to be true
end