spec/unit/pops/issues_spec.rb in puppet-3.2.4 vs spec/unit/pops/issues_spec.rb in puppet-3.3.0.rc2
- old
+ new
@@ -14,10 +14,10 @@
it "should should format a message that requires an argument" do
x = Puppet::Pops::Issues::NAME_WITH_HYPHEN
x.format(:name => 'Boo-Hoo',
:label => Puppet::Pops::Model::ModelLabelProvider.new,
:semantic => "dummy"
- ).should == "A Ruby String may not have a name contain a hyphen. The name 'Boo-Hoo' is not legal"
+ ).should == "A Ruby String may not have a name containing a hyphen. The name 'Boo-Hoo' is not legal"
end
it "should should format a message that does not require an argument" do
x = Puppet::Pops::Issues::NOT_TOP_LEVEL
x.format().should == "Classes, definitions, and nodes may only appear at toplevel or inside other classes"