Sha256: 7cb6292c1c05ded4ff468710de19d039cbc18e9fd33151943496814d899ea324

Contents?: true

Size: 242 Bytes

Versions: 75

Compression:

Stored size: 242 Bytes

Contents

require "spec_setup"
require "insist"

describe Insist do
  subject do
    Insist.new { "Hello world" }
  end

  describe "#value" do
    it "should return the block value" do
      insist { subject.value } == "Hello world"
    end
  end
end

Version data entries

75 entries across 71 versions & 18 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/insist-1.0.0/spec/insist_spec.rb