diff --git a/spec/helpers/crops_helper_spec.rb b/spec/helpers/crops_helper_spec.rb deleted file mode 100644 index 23f2f2970..000000000 --- a/spec/helpers/crops_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the CropsHelper. For example: -# -# describe CropsHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -describe CropsHelper do - pending "add some examples to (or delete) #{__FILE__}" -end diff --git a/spec/helpers/gardens_helper_spec.rb b/spec/helpers/gardens_helper_spec.rb deleted file mode 100644 index d3a34f8dd..000000000 --- a/spec/helpers/gardens_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the GardensHelper. For example: -# -# describe GardensHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -describe GardensHelper do - pending "add some examples to (or delete) #{__FILE__}" -end diff --git a/spec/helpers/scientific_names_helper_spec.rb b/spec/helpers/scientific_names_helper_spec.rb deleted file mode 100644 index 3e4d39c6a..000000000 --- a/spec/helpers/scientific_names_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the ScientificNamesHelper. For example: -# -# describe ScientificNamesHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -describe ScientificNamesHelper do - pending "add some examples to (or delete) #{__FILE__}" -end diff --git a/spec/helpers/updates_helper_spec.rb b/spec/helpers/updates_helper_spec.rb deleted file mode 100644 index f16c9a767..000000000 --- a/spec/helpers/updates_helper_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'spec_helper' - -# Specs in this file have access to a helper object that includes -# the UpdatesHelper. For example: -# -# describe UpdatesHelper do -# describe "string concat" do -# it "concats two strings with spaces" do -# helper.concat_strings("this","that").should == "this that" -# end -# end -# end -describe UpdatesHelper do - pending "add some examples to (or delete) #{__FILE__}" -end diff --git a/spec/models/garden_spec.rb b/spec/models/garden_spec.rb index e2dc2d833..4290cedfb 100644 --- a/spec/models/garden_spec.rb +++ b/spec/models/garden_spec.rb @@ -1,5 +1,11 @@ require 'spec_helper' describe Garden do - pending "add some examples to (or delete) #{__FILE__}" + it "should have a slug" do + user = mock_model(User) + user.stub!(:username).and_return("test1") + garden = Garden.new(:name => "my garden") + garden.user = user + garden.garden_slug.should == "test1-my garden" + end end diff --git a/spec/models/scientific_name_spec.rb b/spec/models/scientific_name_spec.rb deleted file mode 100644 index 18ace8327..000000000 --- a/spec/models/scientific_name_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'spec_helper' - -describe ScientificName do - pending "add some examples to (or delete) #{__FILE__}" -end