Sha256: 42a71145e8d76e78d4c3ef48a0db51fd87bd6f3ec32cd108e42a16c720c5e187

Contents?: true

Size: 457 Bytes

Versions: 32

Compression:

Stored size: 457 Bytes

Contents

require 'spec_helper'

module Spec
  module Mocks
    module ArgumentMatchers
      describe AnyArgsMatcher do
        it "represents itself nicely for failure messages" do
          AnyArgsMatcher.new.description.should == "any args"
        end
      end

      describe AnyArgMatcher do
        it "represents itself nicely for failure messages" do
          AnyArgMatcher.new(nil).description.should == "anything"
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 11 rubygems

Version Path
rspec-instructure-1.3.3 spec/spec/mocks/argument_matchers_spec.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/spec/spec/mocks/argument_matchers_spec.rb
rspec-1.3.2 spec/spec/mocks/argument_matchers_spec.rb
rspec-1.3.1 spec/spec/mocks/argument_matchers_spec.rb
rspec-1.3.1.rc spec/spec/mocks/argument_matchers_spec.rb
rspec-1.3.0 spec/spec/mocks/argument_matchers_spec.rb
hubbub-0.0.11 lib/vendor/plugins/rspec/spec/spec/mocks/argument_matchers_spec.rb
hubbub-0.0.10 lib/vendor/plugins/rspec/spec/spec/mocks/argument_matchers_spec.rb
hubbub-0.0.9 lib/vendor/plugins/rspec/spec/spec/mocks/argument_matchers_spec.rb
hubbub-0.0.8 lib/vendor/plugins/rspec/spec/spec/mocks/argument_matchers_spec.rb
hubbub-0.0.6 lib/vendor/plugins/rspec/spec/spec/mocks/argument_matchers_spec.rb
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/spec/spec/mocks/argument_matchers_spec.rb
media-path-0.1.2 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
simple-templater-0.0.1.3 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
pupu-0.0.2.pre vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
media-path-0.1.1.pre vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
simple-templater-0.0.1.2 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
media-path-0.1.1 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
simple-templater-0.0.1.1 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb
pupu-0.0.2 vendor/rspec/spec/spec/mocks/argument_matchers_spec.rb