Sha256: c3675ac56d243f7549ba01963e852233118bceb319838bd0e847c7dd4cad25fa
Contents?: true
Size: 610 Bytes
Versions: 6
Compression:
Stored size: 610 Bytes
Contents
require 'spec_helper' describe Specjour::Manager do describe "#available_for?" do it "is available for all projects by default" do subject.available_for?(rand.to_s).should be_true end it "is available for one project" do manager = Specjour::Manager.new :registered_projects => %w(one) manager.available_for?('one').should be_true end it "is available for many projects" do manager = Specjour::Manager.new :registered_projects => %w(one two) manager.available_for?('one').should be_true manager.available_for?('two').should be_true end end end
Version data entries
6 entries across 6 versions & 3 rubygems