Sha256: d6c6b6ba5bdfad823c27d95fae448b515c20ff10369642938a66572d7a14f11d

Contents?: true

Size: 496 Bytes

Versions: 14

Compression:

Stored size: 496 Bytes

Contents

require 'spec_helper'

describe "cats.png" do
  subject{ cli(sample("cats.png")) }

  it "size should be < 4k" do
    subject.size.should < 4_000
  end

  it "should get 2nd cat" do
    should include("Second cat is Marussia")
  end

  it "should get 3rd cat" do
    should include("Hello, third kitten is Bessy")
  end

  it "should get 4th cat" do
    should include("Fourth and last cat is Luke")
  end

  it "should get hint" do
    should include("Good, but look a bit deeper...")
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
zsteg-0.2.13 spec/cats_spec.rb
zsteg-0.2.12 spec/cats_spec.rb
zsteg-0.2.11 spec/cats_spec.rb
zsteg-0.2.10 spec/cats_spec.rb
zsteg-0.2.9 spec/cats_spec.rb
zsteg-0.2.8 spec/cats_spec.rb
zsteg-0.2.7 spec/cats_spec.rb
zsteg-0.2.6 spec/cats_spec.rb
zsteg-0.2.5 spec/cats_spec.rb
zsteg-0.2.4 spec/cats_spec.rb
zsteg-0.2.3 spec/cats_spec.rb
zsteg-0.2.2 spec/cats_spec.rb
zsteg-0.2.1 spec/cats_spec.rb
zsteg-0.2.0 spec/cats_spec.rb