diff options
Diffstat (limited to 'spec/ruby/library/net-http/http/shared/started.rb')
| -rw-r--r-- | spec/ruby/library/net-http/http/shared/started.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/library/net-http/http/shared/started.rb b/spec/ruby/library/net-http/http/shared/started.rb index 9ff6272c31..0ab18a4e83 100644 --- a/spec/ruby/library/net-http/http/shared/started.rb +++ b/spec/ruby/library/net-http/http/shared/started.rb @@ -11,16 +11,16 @@ describe :net_http_started_p, shared: true do it "returns true when self has been started" do @http.start - @http.send(@method).should be_true + @http.send(@method).should == true end it "returns false when self has not been started yet" do - @http.send(@method).should be_false + @http.send(@method).should == false end it "returns false when self has been stopped again" do @http.start @http.finish - @http.send(@method).should be_false + @http.send(@method).should == false end end |
