spec/build/name_spec.rb in build-2.3.0 vs spec/build/name_spec.rb in build-2.4.0
- old
+ new
@@ -32,9 +32,13 @@
it "should generate useful target names" do
expect(name.target).to be == 'foo-bar'
end
+ it "should generate useful key names" do
+ expect(name.key('executable')).to be == 'foo_bar_executable'
+ end
+
it "should generate useful macro names" do
expect(name.macro).to be == 'FOO_BAR'
end
it "should generate useful macro names" do