spec/woopy/client_spec.rb in woopy-0.1.6 vs spec/woopy/client_spec.rb in woopy-0.1.7
- old
+ new
@@ -3,10 +3,10 @@
describe Woopy::Client do
before { @token = 'foo' }
describe '#new' do
before {Woopy(token: @token)}
-
+
it "sets the header token" do
Woopy::Resource.headers['X-WoopleToken'].should eq(@token)
end
it "sets the default Resource.site" do