Sha256: 45d369794c1d49d6e0e6498c43d768a65b16d5d07a3be2a1dd62367c01ea07a7
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Remarkable::Macros do subject { [1, 2, 3] } should_contain(1) should_contain(1, 2) should_contain(1, 2, 3) should_not_contain(4) should_not_contain(1, 4) describe "with disabled examples" do # Example disabled without parameters to ensure rescue works properly xshould_not_single_contain xshould_contain(5) xshould_not_contain(1) end describe "with blocks" do subject { [1, 2, 3] } should_not_single_contain(4) should_single_contain(4){ self << 4 } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
remarkable-3.1.9 | spec/macros_spec.rb |