aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-05 13:25:33 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-05 13:25:33 -0700
commite7f1556d0e75c635212273cc5e3cfd113456ff29 (patch)
tree39e81a1fa01bacb18eb2c396d845ebcd815055b9 /activesupport/test
parent53bcbfbdc1eed45cc6615e59d36baf018ab43d96 (diff)
parentdf8154c845f8fb251c58f1fd882cc221cfdcbbc2 (diff)
downloadrails-e7f1556d0e75c635212273cc5e3cfd113456ff29.tar.gz
rails-e7f1556d0e75c635212273cc5e3cfd113456ff29.tar.bz2
rails-e7f1556d0e75c635212273cc5e3cfd113456ff29.zip
Merge branch 'master' into erbout
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/string_inquirer_test.rb15
-rw-r--r--activesupport/test/string_questioneer_test.rb15
2 files changed, 15 insertions, 15 deletions
diff --git a/activesupport/test/string_inquirer_test.rb b/activesupport/test/string_inquirer_test.rb
new file mode 100644
index 0000000000..dda7850e6b
--- /dev/null
+++ b/activesupport/test/string_inquirer_test.rb
@@ -0,0 +1,15 @@
+require 'abstract_unit'
+
+class StringInquirerTest < Test::Unit::TestCase
+ def test_match
+ assert ActiveSupport::StringInquirer.new("production").production?
+ end
+
+ def test_miss
+ assert !ActiveSupport::StringInquirer.new("production").development?
+ end
+
+ def test_missing_question_mark
+ assert_raises(NoMethodError) { ActiveSupport::StringInquirer.new("production").production }
+ end
+end
diff --git a/activesupport/test/string_questioneer_test.rb b/activesupport/test/string_questioneer_test.rb
deleted file mode 100644
index ff9d2c17f9..0000000000
--- a/activesupport/test/string_questioneer_test.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require 'abstract_unit'
-
-class StringQuestioneerTest < Test::Unit::TestCase
- def test_match
- assert StringQuestioneer.new("production").production?
- end
-
- def test_miss
- assert !StringQuestioneer.new("production").development?
- end
-
- def test_missing_question_mark
- assert_raises(NoMethodError) { StringQuestioneer.new("production").production }
- end
-end \ No newline at end of file