Changeset 14
- Timestamp:
- 01/04/08 16:58:13 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
incubator/cc_campfire_notifier/campfire_notifier.rb
r13 r14 8 8 9 9 cattr_accessor :settings 10 def settings 11 CampfireNotifier.settings 12 end 10 13 def room 11 14 return if room_name.nil? incubator/cc_campfire_notifier/test/campfire_notifier_test.rb
r13 r14 31 31 notifer.room.should == nil 32 32 end 33 it "delegates settings to the class variable settings" do 34 CampfireNotifier.settings = settings = stub 35 CampfireNotifier.new.settings.should == settings 36 end 33 37 end
