RSpec Code Examples

 

 

Gatling::Configuration
#reference_image_path
should default to <Rails.root>/spec/reference_images
should be overrideable
gatling
creating an initial reference (expected) image
should notify that no reference exists for image and create a candidate
image comparison
captured and referenced images match
training mode populates a candidate reference
should create a reference from a candidate
can't convert nil into String
./lib/gatling.rb:104:in `+'
./lib/gatling.rb:104:in `run'
./spec/gatling_spec.rb:76:in `block (3 levels) in '
102
103      def run
104        puts "-------------" + @reference_image_path
105        self.crop_element
106      end