Sha256: 20c63cfa824a6111627ba75a47f37f0f2c38b39da9f44e5b0f4e0f9abb6131b5
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
require 'spec_helper' describe Reparty::Report do it "requires a title" do expect { Reparty::Report.new("title!") }.to_not raise_exception expect { Reparty::Report.new(nil) }.to raise_exception expect { Reparty::Report.new("") }.to raise_exception end it "has an attach method" do expect { Reparty::Report.new("title!").attach(nil) }.to_not raise_exception end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reparty-0.1.3 | spec/report_spec.rb |
reparty-0.1.2 | spec/report_spec.rb |
reparty-0.1.0 | spec/report_spec.rb |