@@ -20,12 +20,12 @@ module RDF_Reader
2020
2121 describe ".open" do
2222 before ( :each ) do
23- RDF ::Util ::File . stub! ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
23+ RDF ::Util ::File . stub ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
2424 end
2525
2626 it "yields reader given file_name" do
2727 @reader_class . format . each do |f |
28- RDF ::Util ::File . stub! ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
28+ RDF ::Util ::File . stub ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
2929 f . file_extensions . each_pair do |sym , content_type |
3030 reader_mock = double ( "reader" )
3131 reader_mock . should_receive ( :got_here )
@@ -40,7 +40,7 @@ module RDF_Reader
4040
4141 it "yields reader given symbol" do
4242 @reader_class . format . each do |f |
43- RDF ::Util ::File . stub! ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
43+ RDF ::Util ::File . stub ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
4444 sym = f . to_sym # Like RDF::NTriples::Format => :ntriples
4545 reader_mock = double ( "reader" )
4646 reader_mock . should_receive ( :got_here )
@@ -54,7 +54,7 @@ module RDF_Reader
5454
5555 it "yields reader given {:file_name => file_name}" do
5656 @reader_class . format . each do |f |
57- RDF ::Util ::File . stub! ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
57+ RDF ::Util ::File . stub ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
5858 f . file_extensions . each_pair do |sym , content_type |
5959 reader_mock = double ( "reader" )
6060 reader_mock . should_receive ( :got_here )
@@ -69,7 +69,7 @@ module RDF_Reader
6969
7070 it "yields reader given {:content_type => 'a/b'}" do
7171 @reader_class . format . each do |f |
72- RDF ::Util ::File . stub! ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
72+ RDF ::Util ::File . stub ( :open_file ) . and_yield ( StringIO . new ( "foo" ) )
7373 f . content_types . each_pair do |content_type , formats |
7474 reader_mock = double ( "reader" )
7575 reader_mock . should_receive ( :got_here )
0 commit comments