Pulling out snapshot until it's finished

This commit is contained in:
Anthony Davis 2014-01-07 14:42:39 -06:00
parent 8b3d1abd5c
commit 4ff1674f20
1 changed files with 2 additions and 7 deletions

View File

@ -99,7 +99,7 @@ Spork.prefork do
config.include Snapshot
config.before(:suite) do
set_up_snapshot
#set_up_snapshot
end
config.before(:all) do
@ -107,15 +107,10 @@ Spork.prefork do
end
config.before(:each) do
if example.metadata[:js]
page.driver.resize(1920, 1080)
page.driver.headers = { 'User-Agent' => 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0' }
end
if example.metadata[:snap]
snapshot_example
end
end
config.before(:each, :js => true) do
@ -145,7 +140,7 @@ Spork.prefork do
end
config.after(:suite) do
tear_down_snapshot
#tear_down_snapshot
wipe_s3_test_bucket
end
end