Sha256: 3a3fca9fc05c5938acd1ceed0380c5700118d90113708f21fbf25ea096480dcc

Contents?: true

Size: 309 Bytes

Versions: 12

Compression:

Stored size: 309 Bytes

Contents

require "savagery"

describe Savagery do
  let(:spriter) { double(:spriter) }
  let(:path) { double(:path) }

  it ".sprite! delegates to Savagery::Spriter" do
    Savagery::Spriter.should_receive(:new).with(path).and_return(spriter)
    spriter.should_receive(:sprite!)

    subject.sprite!(path)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
savagery-0.6.1 spec/savagery_spec.rb
savagery-0.6.0 spec/savagery_spec.rb
savagery-0.5.0 spec/savagery_spec.rb
savagery-0.4.4 spec/savagery_spec.rb
savagery-0.4.3 spec/savagery_spec.rb
savagery-0.4.2 spec/savagery_spec.rb
savagery-0.4.1 spec/savagery_spec.rb
savagery-0.4.0 spec/savagery_spec.rb
savagery-0.3.3 spec/savagery_spec.rb
savagery-0.3.2 spec/savagery_spec.rb
savagery-0.3.1 spec/savagery_spec.rb
savagery-0.3.0 spec/savagery_spec.rb