spec/approvals_spec.rb in approvals-0.0.7 vs spec/approvals_spec.rb in approvals-0.0.8

- old
+ new

@@ -65,9 +65,15 @@ it "verifies json" do json = '{"pet":{"species":"turtle","color":"green","name":"Anthony"}}' Approvals.verify json, :format => :json, :namer => namer end + + it "verifies json and is newline agnostic" do + json = '{"pet":{"species":"turtle","color":"green","name":"Anthony"}}' + Approvals.verify json, :format => :json, :namer => namer + end + it "verifies an executable" do executable = Approvals::Executable.new('SELECT 1') do |command| puts "your slip is showing (#{command})" end