summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index
diff options
context:
space:
mode:
authorUser <hukl@cccms.ccc.de>2011-02-10 14:23:36 +0100
committerUser <hukl@cccms.ccc.de>2011-02-10 14:23:36 +0100
commit384b187e9e067ddf2bb4d5fad0c2deaf96f69c89 (patch)
treecf743f377d3e2e28a31ae0359d95f37beba82cc3 /vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index
parent3d0de09cf94cee6233b36a7f5ce20d5059854acc (diff)
parentcec2b1e2881db0000b2a09029154bea0fc62ade3 (diff)
Merge branch 'master' of ssh://svn.medienhaus.udk-berlin.de/usr/local/git/cccms
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.rb5
-rw-r--r--vendor/plugins/thinking-sphinx/spec/unit/thinking_sphinx/index/faux_column_spec.rb30
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 @@
1require 'spec/spec_helper'
2
3describe ThinkingSphinx::Index::Builder do
4 #
5end \ 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 @@
1require 'spec/spec_helper'
2
3describe 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
30end \ No newline at end of file