spec/lib/trackerific_spec.rb in trackerific-0.7.1 vs spec/lib/trackerific_spec.rb in trackerific-0.7.2
- old
+ new
@@ -1,18 +1,9 @@
require 'spec_helper'
describe Trackerific do
- describe "#configuration" do
- subject { Trackerific.configuration }
- it { should eq Trackerific::Configuration.config }
- end
-
- describe "#configure" do
- it "should delegate to Trackerific::Configuration.configure" do
- Trackerific.configure {|config| config.this = :value }
- Trackerific.configuration.this.should eq :value
- end
- end
+ it { should respond_to :config }
+ it { should respond_to :configure }
describe "#track" do
it "should return an Array of Trackerific::Details" do
results = Trackerific.track("TEST")
results.should be_a Array