Permalink
Browse files

File cleanup

  • Loading branch information...
1 parent e2ab03f commit a015838939a61e624b0aa4315d0d458874b83440 @PlasticLizard committed Oct 3, 2010
Showing with 50 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +29 −0 Gemfile.lock
  3. +15 −0 lib/Observables.rb
  4. +5 −3 test/test_Observables.rb
View
@@ -21,3 +21,4 @@ pkg
## PROJECT::SPECIFIC
idea/*
+.idea/*
View
@@ -0,0 +1,29 @@
+PATH
+ remote: .
+ specs:
+ observables (0.0.1)
+ activesupport (~> 3.0.0)
+ i18n
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.0.0)
+ i18n (0.4.1)
+ mocha (0.9.8)
+ rake
+ rake (0.8.7)
+ shoulda (2.11.3)
+ timecop (0.3.5)
+
+PLATFORMS
+ x86-mingw32
+
+DEPENDENCIES
+ activesupport (~> 3.0.0)
+ i18n
+ mocha (~> 0.9.8)
+ observables!
+ rake
+ shoulda (~> 2.11)
+ timecop (~> 0.3.1)
View
@@ -0,0 +1,15 @@
+require 'rubygems'
+
+base_dir = File.dirname(__FILE__)
+[
+ 'base',
+ 'array_watcher',
+ 'hash_watcher',
+ 'collections',
+ 'version'
+].each {|req| require File.join(base_dir,'observables',req)}
+
+Dir[File.join(base_dir,"observables","extensions","*.rb")].each {|ext|require ext}
+
+module Observables
+end
View
@@ -1,7 +1,9 @@
-require 'helper'
+require 'test_helper'
class TestObservables < Test::Unit::TestCase
- should "probably rename this file and start testing for real" do
- flunk "hey buddy, you should probably rename this file and start testing for real"
+ context "including observables" do
+ should "include something or other" do
+ assert_equal defined?(Observables), "constant"
+ end
end
end

0 comments on commit a015838

Please sign in to comment.