Sha256: 10b23eaae846e0b0a6e9a97811d483dd88776459cebe6739e06e8dc15ef29bea
Contents?: true
Size: 411 Bytes
Versions: 2
Compression:
Stored size: 411 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe DattsRight, ".remove_definitions(array)" do before do reset_database end it "should add a definition to the existing definition" do c = Category.create c.should_receive(:remove_definition).with(:robot) c.should_receive(:remove_definition).with(:another) c.remove_definitions(:robot, :another) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datts_right-0.0.22 | spec/datts_right/remove_definitions_spec.rb |
datts_right-0.0.21 | spec/datts_right/remove_definitions_spec.rb |