Giter Site home page Giter Site logo

differ's People

Contributors

emintham avatar jakobr avatar masukomi avatar pvande avatar

Stargazers

 avatar

Watchers

 avatar  avatar

differ's Issues

Rspec failures

(it was this way when I found it, I swear )


Failures:

  1) Differ::Change should stringify via the current format's #format method
     Failure/Error: Differ::Change.new.to_s
     NoMethodError:
       undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgMatcher:0x007f8da3bea4c8>
     # ./lib/differ/change.rb:27:in `=='
     # ./lib/differ/change.rb:22:in `to_s'
     # ./spec/differ/change_spec.rb:80:in `block (2 levels) in <top (required)>'

  2) Differ::Change (empty) should stringify to ""
     Failure/Error: @change.to_s.should == ''
     NoMethodError:
       undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgMatcher:0x007f8da3bea4c8>
     # ./lib/differ/change.rb:27:in `=='
     # ./lib/differ/change.rb:22:in `to_s'
     # ./spec/differ/change_spec.rb:24:in `block (3 levels) in <top (required)>'

  3) Differ::Diff#to_s should delegate insertion changes to Differ#format
     Failure/Error: @format.should_receive(:call).once.with(i).and_return('!')
     NoMethodError:
       undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x007f8da3bea5b8>
     # ./lib/differ/change.rb:27:in `=='
     # ./spec/differ/diff_spec.rb:25:in `block (3 levels) in <top (required)>'

  4) Differ::Diff#format_as should delegate change formatting to the given format
     Failure/Error: @format.should_receive(:call).once.with(@change).and_return('!')
     NoMethodError:
       undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x007f8da3bea5b8>
     # ./lib/differ/change.rb:27:in `=='
     # ./spec/differ/diff_spec.rb:40:in `block (3 levels) in <top (required)>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.