spec/cobregratis/base_spec.rb in cobregratis-0.4.2 vs spec/cobregratis/base_spec.rb in cobregratis-0.4.3
- old
+ new
@@ -1,13 +1,13 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe Cobregratis::Base do
-
+
before(:each) do
@base = Cobregratis::Base.new
end
-
+
it "should be instance of ActiveResource::Base" do
- @base.kind_of?(ActiveResource::Base).should be_true
+ expect(@base.kind_of?(ActiveResource::Base)).to be_true
end
-
+
end