example/spec/spec_helper.rb in gnawrnip-0.1.3 vs example/spec/spec_helper.rb in gnawrnip-0.2.0
- old
+ new
@@ -19,12 +19,9 @@
Capybara.app = Sinatra::Application.new
Capybara.default_driver = :poltergeist
Capybara.javascript_driver = :selenium
Gnawrnip.configure do |c|
- # c.publisher_driver = :js
- c.publisher_driver = :rmagick
c.frame_interval = 1000 # milliseconds
- c.frame_size = [640, 360] # width, height
- c.make_animation = false
+ c.make_animation = true
+ c.max_frame_size = 1024 # pixel
end
-