summaryrefslogtreecommitdiff
path: root/spec/ruby/library/etc/group_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/etc/group_spec.rb')
-rw-r--r--spec/ruby/library/etc/group_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/etc/group_spec.rb b/spec/ruby/library/etc/group_spec.rb
index fda808eec9..d7addbbec1 100644
--- a/spec/ruby/library/etc/group_spec.rb
+++ b/spec/ruby/library/etc/group_spec.rb
@@ -9,7 +9,7 @@ describe "Etc.group" do
it "returns a Etc::Group struct" do
group = Etc.group
begin
- group.should be_an_instance_of(Etc::Group)
+ group.should.instance_of?(Etc::Group)
ensure
Etc.endgrent
end
@@ -21,7 +21,7 @@ describe "Etc.group" do
Etc.group do | group2 |
end
end
- }.should raise_error(RuntimeError)
+ }.should.raise(RuntimeError)
end
end
end