Sha256: 23d127d6f8d56f851f742961baa68a7d0eafcd3bdd12907cd9fca5b852d88042
Contents?: true
Size: 301 Bytes
Versions: 12
Compression:
Stored size: 301 Bytes
Contents
Then /^the output should be JSON$/ do lambda { parse_json(all_output) }.should_not raise_error end Then /^the file "(.*?)" should contain JSON:$/ do |file, data| target = MultiJson.decode(data) actual = MultiJson.decode(File.read(File.join(current_dir, file))) target.should eql(actual) end
Version data entries
12 entries across 12 versions & 1 rubygems