Sha256: 9a650c012f6cbcc175ae8888aa7e081a420acef88728a1211ea33ee40bc7c1ef

Contents?: true

Size: 559 Bytes

Versions: 7

Compression:

Stored size: 559 Bytes

Contents

describe('Basic plugin initialization', {
  
  'before': function() {  
    $('#<%= details[:project] %>').<%= details[:project] %>()
   },
   
   'after': function(){
   },

 	'should be able see that version of project': function(){
     value_of($.<%= details[:project] %>.VERSION).should_be('<%= details[:version] %>')
 	},
	
	'should be able see that element is visible': function(){
    value_of($('#<%= details[:project] %>').is(':visible')).should_be_true()
	},
	
	'should be able to override default settings': function(){
	  // over to you!
	},
	
})

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jqueryplugingen-0.2.6 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.1 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.2 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.0 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.4 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.5 lib/templates/test/spec_plugin.js.erb
jqueryplugingen-0.2.3 lib/templates/test/spec_plugin.js.erb