Permalink
Browse files

trying the selenium driver

  • Loading branch information...
1 parent 5d99fce commit 2b5bba19bd293aabf74eb269f54314fc34cacc89 @jimarnold jimarnold committed Jan 7, 2013
@@ -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
@@ -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]) }
@@ -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)

0 comments on commit 2b5bba1

Please sign in to comment.