Permalink
Browse files

Killed obsolete test.

  • Loading branch information...
1 parent 3108716 commit 249f58e0b5af4e39200c3d57067a2d9af9771893 @dblock dblock committed Sep 9, 2011
Showing with 1 addition and 7 deletions.
  1. +1 −1 lib/analytical/modules/clicky.rb
  2. +0 −6 spec/analytical/modules/clicky_spec.rb
@@ -19,7 +19,7 @@ def init_javascript(location)
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
- s.src = '#{protocol}//static.getclicky.com/js';
+ s.src = '//static.getclicky.com/js';
( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
})();
</script>
@@ -35,12 +35,6 @@
@api.init_javascript(:body_append).should =~ /static.getclicky.com\/js/
@api.init_javascript(:body_append).should =~ /abcdef/
end
- describe 'for an ssl connection' do
- it 'should return the ssl init code' do
- @api = Analytical::Modules::Clicky.new :parent=>@parent, :key=>'abcdef', :ssl=>true
- @api.init_javascript(:body_append).should =~ /https/
- end
- end
describe 'with an identify command queued' do
@api = Analytical::Modules::Clicky.new :parent=>@parent, :key=>'abcdef'
@api.queue :identify, 'user id', {:email=>'someone@test.com'}

0 comments on commit 249f58e

Please sign in to comment.