spec/punchblock/component/input_spec.rb in punchblock-1.5.0 vs spec/punchblock/component/input_spec.rb in punchblock-1.5.1
- old
+ new
@@ -120,10 +120,11 @@
describe 'with a grammar reference by URL' do
let(:url) { 'http://foo.com/bar.grxml' }
subject { Input::Grammar.new :url => url }
- its(:url) { should be == url }
+ its(:url) { should be == url }
+ its(:content_type) { should be nil}
describe "comparison" do
it "should be the same with the same url" do
Input::Grammar.new(:url => url).should be == Input::Grammar.new(:url => url)
end