Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

trying the selenium driver

  • Loading branch information...
commit 2b5bba19bd293aabf74eb269f54314fc34cacc89 1 parent 5d99fce
@jimarnold jimarnold authored
View
2  spec/features/email_experiments_spec.rb
@@ -4,7 +4,7 @@
let(:member) { create :member }
let(:user ) { create :admin_user }
- it 'should win after signature from email', js: true, driver: :webkit do
+ it 'should win after signature from email', js: true, driver: :selenium do
login user.email, user.password do
# create two petitions
petitions = 2.times.map do
View
2  spec/features/facebook_experiments_spec.rb
@@ -1,7 +1,7 @@
describe 'facebook experiments' do
let(:user) { create :admin_user }
- context 'image on opengraph metadata', js: true, driver: :webkit do
+ context 'image on opengraph metadata', js: true, driver: :selenium do
let(:member) { create :member }
let(:image ) { 'http://wow.com/image.png' }
let(:petition) { create_petition(images: [image]) }
View
2  spec/features/signatures_spec.rb
@@ -45,7 +45,7 @@
petition.save
}
- it 'should register a spin and a win', js: true, driver: :webkit do
+ it 'should register a spin and a win', js: true, driver: :selenium do
admin_user = create :admin_user
visit petition_path(petition, r: code)
Please sign in to comment.
Something went wrong with that request. Please try again.