Sha256: 8ba710d7d6568e532e495293b6e96e384fef047a92ab5044c4091cc3dc4e5396
Contents?: true
Size: 478 Bytes
Versions: 15
Compression:
Stored size: 478 Bytes
Contents
shared_examples_for Roadie::AssetProvider do describe "#all(files)" do it "loads files in order and join them with a newline" do provider.should_receive(:find).with('one').twice.and_return('contents of one') provider.should_receive(:find).with('two').twice.and_return('contents of two') provider.all(%w[one two]).should == "contents of one\ncontents of two" provider.all(%w[two one]).should == "contents of two\ncontents of one" end end end
Version data entries
15 entries across 15 versions & 2 rubygems