diff options
| author | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2011-02-10 14:19:00 +0100 |
| commit | 7379daad1c73bd3610ed296436250b417ac3673d (patch) | |
| tree | 04f722efc678de9d3aa5bf8f1c96e3be33b18bc4 /vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index | |
| parent | 91633ac4419d839661e35ae8f2efe5c9089cfb67 (diff) | |
removed thinking_sphinx plugin and replaced it with gem.
also tuned dependencies
Diffstat (limited to 'vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/builder_spec.rb | 5 | ||||
| -rw-r--r-- | vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb | 30 |
2 files changed, 0 insertions, 35 deletions
diff --git a/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/builder_spec.rb b/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/builder_spec.rb deleted file mode 100644 index 6d1d25dc..00000000 --- a/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/builder_spec.rb +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | require 'spec/spec_helper' | ||
| 2 | |||
| 3 | describe ThinkingSphinx::Index::Builder do | ||
| 4 | # | ||
| 5 | end \ No newline at end of file | ||
diff --git a/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb b/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb deleted file mode 100644 index ca76a346..00000000 --- a/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | require 'spec/spec_helper' | ||
| 2 | |||
| 3 | describe ThinkingSphinx::Index::FauxColumn do | ||
| 4 | describe "coerce class method" do | ||
| 5 | before :each do | ||
| 6 | @column = ThinkingSphinx::Index::FauxColumn.stub_instance | ||
| 7 | ThinkingSphinx::Index::FauxColumn.stub_method(:new => @column) | ||
| 8 | end | ||
| 9 | |||
| 10 | it "should return a single faux column if passed a string" do | ||
| 11 | ThinkingSphinx::Index::FauxColumn.coerce("string").should == @column | ||
| 12 | end | ||
| 13 | |||
| 14 | it "should return a single faux column if passed a symbol" do | ||
| 15 | ThinkingSphinx::Index::FauxColumn.coerce(:string).should == @column | ||
| 16 | end | ||
| 17 | |||
| 18 | it "should return an array of faux columns if passed an array of strings" do | ||
| 19 | ThinkingSphinx::Index::FauxColumn.coerce(["one", "two"]).should == [ | ||
| 20 | @column, @column | ||
| 21 | ] | ||
| 22 | end | ||
| 23 | |||
| 24 | it "should return an array of faux columns if passed an array of symbols" do | ||
| 25 | ThinkingSphinx::Index::FauxColumn.coerce([:one, :two]).should == [ | ||
| 26 | @column, @column | ||
| 27 | ] | ||
| 28 | end | ||
| 29 | end | ||
| 30 | end \ No newline at end of file | ||
