lib/lucid/generators/project/events-fluent.rb in lucid-0.2.1 vs lib/lucid/generators/project/events-fluent.rb in lucid-0.3.0

- old
+ new

@@ -5,11 +5,11 @@ Before('~@practice','~@sequence') do @browser = Fluent::Browser.start end AfterStep('@pause') do - print "Press ENTER to continue..." + print 'Press ENTER to continue...' STDIN.getc end After do |scenario| if scenario.failed? @@ -22,12 +22,9 @@ # This way the image is encoded into the results. encoded_img = @browser.driver.screenshot_as(:base64) embed("data:image/png;base64,#{encoded_img}", 'image/png') end - - # This is an alternative way to embed. - #embed screenshot, 'image/png' end Fluent::Browser.stop end at_exit do