Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Normalize hash syntax to ruby 1.9

  • Loading branch information...
commit 00da90e519366cec6adcdec3c061f4b240e0c159 1 parent a4791aa
ACRE authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 spec/dill/widgets/widget_checkpoint_spec.rb
View
10 spec/dill/widgets/widget_checkpoint_spec.rb
@@ -24,13 +24,13 @@
end
end
- context 'with poltergeist', :js => true, :driver => :poltergeist do
+ context 'with poltergeist', js: true, driver: :poltergeist do
context 'when an obsolete node error is raised' do
- When(:result) {
- checkpoint.call {
+ When(:result) do
+ checkpoint.call do
raise Capybara::Poltergeist::ObsoleteNode.new(nil, nil)
- }
- }
+ end
+ end
Then { result == Failure(Capybara::Poltergeist::ObsoleteNode) }
Then { elapsed > wait_time }
Please sign in to comment.
Something went wrong with that request. Please try again.