Permalink
Browse files

spec cleanup

  • Loading branch information...
grosser committed Feb 21, 2011
1 parent 19f0431 commit e19c8a155b1da338a8ad334e5cb67d0ab01b97f9
Showing with 3 additions and 6 deletions.
  1. +1 −4 spec/rpx_now_spec.rb
  2. +2 −2 spec/spec_helper.rb
View
@@ -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
@@ -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

0 comments on commit e19c8a1

Please sign in to comment.