Skip to content

Commit

Permalink
Add shorter helper method for opening the page
Browse files Browse the repository at this point in the history
  • Loading branch information
radar authored and Mauro Botelho committed Nov 30, 2011
1 parent f91bd00 commit 8cc317d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core/spec/support/capybara_ext.rb
@@ -0,0 +1,9 @@
module CapybaraExt
def page!
save_and_open_page
end
end

RSpec.configure do |c|
c.include CapybaraExt
end

0 comments on commit 8cc317d

Please sign in to comment.