spec/script/script_spec.rb in ronin-1.3.0 vs spec/script/script_spec.rb in ronin-1.4.0.rc1

- old
+ new

@@ -71,13 +71,11 @@ resource.var.should == 2 end end - it "should have an script-type" do - resource = subject.new - - resource.script_type.should == 'MyScript' + it "should have an short-name" do + subject.short_name.should == 'MyScript' end describe "load_from" do let(:path) { repo.find_script('my_scripts/test.rb').path }