removing shoulda

Hesham E committed Aug 19, 2010
commit 9f9b515d0031d86c5cf6bca6f51145fc6a669c35
Showing 2 changed files with 1 additions and 12 deletions
Gemfile +1 -4
@@ @@ -25,7 +25,4 @@ gem 'haml'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
- # and rake tasks are available in development mode:
- group :test do
- gem 'shoulda'
- end
+ # and rake tasks are available in development mode:
\ No newline at end of file
test/unit/cms_snippet_test.rb +0 -8
@@ @@ -2,14 +2,6 @@ require 'test_helper'
class CmsSnippetTest < ActiveSupport::TestCase
- # -- Validations ----------------------------------------------------------
-
- should validate_presence_of(:label)
- should validate_uniqueness_of(:label)
- should_not allow_value("bogus label").for(:label)
- should_not allow_value("bogus^").for(:label)
- should allow_value("snippet-label").for(:label)
-
# -- Class Methods --------------------------------------------------------
test "get snippet content" do