Sha256: 6103004c4dc693149335e0ce3c55b4e93d5fb38c951f3b6d9b9248277ca2125f
Contents?: true
Size: 990 Bytes
Versions: 8
Compression:
Stored size: 990 Bytes
Contents
require "spec_helper" describe Phenomenal::FeatureRelationships do before :each do @feature = Phenomenal::Feature.new :feature end after :each do force_forget_context(@feature) end describe "#requirements_for" do it "should store the requirements" do @feature.requirements_for :a,:on=>:b @feature.relationships.should have(1).item @feature.relationships.first.is_a?(Phenomenal::Requirement).should be_true end end describe "#implications_for" do it "should store the implications" do @feature.implications_for :a,:on=>:b @feature.relationships.should have(1).item @feature.relationships.first.is_a?(Phenomenal::Implication).should be_true end end describe "#suggestions_for" do it "should store the suggestions" do @feature.suggestions_for :a,:on=>:b @feature.relationships.should have(1).item @feature.relationships.first.is_a?(Phenomenal::Suggestion).should be_true end end end
Version data entries
8 entries across 8 versions & 1 rubygems