spec/analytical/chartbeat_spec.rb in analytical-1.6.0 vs spec/analytical/chartbeat_spec.rb in analytical-1.7.0
- old
+ new
@@ -12,21 +12,9 @@
it 'should set the options' do
a = Analytical::Chartbeat::Api.new :parent=>@parent, :key=>12345, :domain =>'abcdef.com'
a.options.should == {:key=>12345, :domain => 'abcdef.com', :parent=>@parent}
end
end
- describe '#track' do
- it 'should return the tracking javascript' do
- @api = Analytical::Chartbeat::Api.new :parent=>@parent, :key=>12345
- @api.track.should == ''
- end
- end
- describe '#identify' do
- it 'should return an empty string' do
- @api = Analytical::Chartbeat::Api.new :parent=>@parent, :key=>12345
- @api.identify('nothing', {:matters=>'at all'}).should == ''
- end
- end
describe '#init_javascript' do
it 'should return the init javascript' do
@api = Analytical::Chartbeat::Api.new :parent=>@parent, :key=>12345, :domain =>'abcdef.com'
@api.init_javascript(:head_prepend).should =~ /_sf_startpt=\(new.Date\(\)\)\.getTime\(\);/
@api.init_javascript(:head_append).should == ''
\ No newline at end of file