gollum_rails 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe ::Hash do
4
- before(:each) do
5
- @hash_a = {:a => "b", :b => "c"}
6
- @hash_b = {a: "b", b: "c"}
7
- end
8
- it "should initialize a new hash" do
9
- @hash_a.should be_instance_of(Hash)
10
- @hash_b.should be_instance_of(Hash)
11
- @hash_b.should == @hash_a
12
- @hash_b.a.should == @hash_b[:a]
13
- @hash_b.b.should == @hash_b[:b]
14
- @hash_b.a.should == @hash_a.a
15
- @hash_b.b.should == @hash_a.b
16
- end
17
- it "should change the value by method missing" do
18
-
19
- @hash_c = {:hooh => "c", :tripple => {:d => "d"}}
20
- @hash_d = Hash.new
21
- expect{@hash_d.x}.to raise_error
22
- #@hash_a.d.to_s.should == "{ d: 'd', x: 'Hash.new' }"
23
- #@hash_a.d.should be_instance_of(Hash)
24
- #puts @hash_a.d
25
- #expect{@hash_a.hash = {d:"d"}}.to be_equal Hash['{:a=>"b", :b=>"c", "b"=>[3], :d=>"d"}']
26
- #puts @hash_a
27
- #@hash_a.a = "other"
28
- #puts @hash_a
29
- #expect{@hash_a.a = "other"}.to be_equal "other"
30
- end
31
- end
@@ -1,9 +0,0 @@
1
- # Setup testing
2
- require 'spec_helper'
3
- describe GollumRails do
4
-
5
- it "should equal the current version" do
6
- GollumRails::VERSION.should == "1.0.4"
7
- end
8
-
9
- end
data/spec/spec.opts DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --format progress
3
-