Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

spec cleanup

  • Loading branch information...
commit e19c8a155b1da338a8ad334e5cb67d0ab01b97f9 1 parent 19f0431
@grosser authored
Showing with 3 additions and 6 deletions.
  1. +1 −4 spec/rpx_now_spec.rb
  2. +2 −2 spec/spec_helper.rb
View
5 spec/rpx_now_spec.rb
@@ -13,11 +13,8 @@ def fake_response(replace={})
end
describe :domain= do
- before do
- RPXNow.domain='domain.com'
- end
-
it "is stored" do
+ RPXNow.domain = 'domain.com'
RPXNow.domain.should == 'domain.com'
end
end
View
4 spec/spec_helper.rb
@@ -8,9 +8,9 @@
# ---- rspec
RSpec.configure do |config|
- config.before :each do
+ config.before do
RPXNow.api_key = API_KEY
RPXNow.api_version = API_VERSION
RPXNow.domain = DOMAIN
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.