perpetuity 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/perpetuity/reference.rb +1 -1
- data/lib/perpetuity/version.rb +1 -1
- data/spec/perpetuity/reference_spec.rb +3 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/perpetuity/reference.rb
CHANGED
data/lib/perpetuity/version.rb
CHANGED
@@ -3,9 +3,11 @@ require 'perpetuity/reference'
|
|
3
3
|
module Perpetuity
|
4
4
|
describe Reference do
|
5
5
|
let(:reference) { Reference.new Object, 1 }
|
6
|
-
let(:object) { double('Object', class: Object
|
6
|
+
let(:object) { double('Object', class: Object) }
|
7
7
|
subject { reference }
|
8
8
|
|
9
|
+
before { object.instance_variable_set :@id, 1 }
|
10
|
+
|
9
11
|
its(:klass) { should be Object }
|
10
12
|
its(:id) { should be == 1 }
|
11
13
|
|