Browse files

Moved FMyLife and Weather into the standard directory structure

  • Loading branch information...
1 parent 4c17eed commit 87e98fdd421b167e48d2034290de9e717c1d7dce @caius committed Jun 2, 2009
Showing with 32 additions and 0 deletions.
  1. 0 { → fmylife}/fmylife.rb
  2. +16 −0 fmylife/fmylife_spec.rb
  3. +16 −0 weather/weather_spec.rb
View
0 fmylife.rb → fmylife/fmylife.rb
File renamed without changes.
View
16 fmylife/fmylife_spec.rb
@@ -0,0 +1,16 @@
+require "rubygems"
+require File.expand_path(File.dirname(__FILE__) + "/fmylife")
+require "spec"
+require "fakeweb"
+require "json"
+
+# True lets it connect to live servers
+FakeWeb.allow_net_connect = false
+
+describe FMyLife do
+
+ it "should create an instance" do
+ Blank.new.should be_a_kind_of(Blank)
+ end
+
+end
View
16 weather/weather_spec.rb
@@ -0,0 +1,16 @@
+require "rubygems"
+require File.expand_path(File.dirname(__FILE__) + "/weather")
+require "spec"
+require "fakeweb"
+require "json"
+
+# True lets it connect to live servers
+FakeWeb.allow_net_connect = false
+
+describe Weather do
+
+ it "should create an instance" do
+ Weather.new.should be_a_kind_of(Weather)
+ end
+
+end

0 comments on commit 87e98fd

Please sign in to comment.