lucid_works 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/lucid_works/version.rb
CHANGED
@@ -10,6 +10,7 @@ describe LucidWorks::Collection do
|
|
10
10
|
before do
|
11
11
|
@collection_name = "a_new_collection"
|
12
12
|
@instance_dir = "my_instance_dir"
|
13
|
+
@template = "default.zip"
|
13
14
|
end
|
14
15
|
|
15
16
|
def collection_count
|
@@ -18,14 +19,16 @@ describe LucidWorks::Collection do
|
|
18
19
|
|
19
20
|
describe ".create" do
|
20
21
|
context "with ideal circumstances" do
|
21
|
-
it "should create a new collection with the appropriate
|
22
|
+
it "should create a new collection with the appropriate parameters" do
|
22
23
|
lambda {
|
23
24
|
c = LucidWorks::Collection.create(:name => @collection_name,
|
24
25
|
:instance_dir => @instance_dir,
|
26
|
+
:template => @template,
|
25
27
|
:parent => @server)
|
26
28
|
c.should be_kind_of(LucidWorks::Collection)
|
27
29
|
c.name.should == @collection_name
|
28
30
|
c.instance_dir.should == @instance_dir
|
31
|
+
c.template.should == @template
|
29
32
|
c.should be_persisted
|
30
33
|
}.should change(self, :collection_count).by(1)
|
31
34
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: lucid_works
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.6.
|
5
|
+
version: 0.6.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sam Pierson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-06 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|