summaryrefslogtreecommitdiffstats
path: root/spec/spaces_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spaces_spec.rb')
-rw-r--r--spec/spaces_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spaces_spec.rb b/spec/spaces_spec.rb
index d7af8e5..e1d75ca 100644
--- a/spec/spaces_spec.rb
+++ b/spec/spaces_spec.rb
@@ -94,14 +94,14 @@ describe ColonialTwilight::Sector do
end
it 'shift alignment toward oppose' do
- @s.shift :oppose
+ expect(@s.shift(:oppose)).to be :oppose
expect(@s.oppose?).to be true
expect(@s.neutral?).to be false
expect(@s.support?).to be false
end
it 'shift alignment toward support' do
- @s.shift :support
+ expect(@s.shift(:support)).to be :support
expect(@s.oppose?).to be false
expect(@s.neutral?).to be false
expect(@s.support?).to be true
@@ -163,7 +163,7 @@ describe ColonialTwilight::Country do
it 'independent' do
expect(@c.independent?).to be false
- @c.independent!
+ expect(@c.independent!).to be true
expect(@c.independent?).to be true
end
end