Skip to content

Commit

Permalink
Adapt tests
Browse files Browse the repository at this point in the history
Co-authored-by: Josef Reidinger <jreidinger@suse.cz>
  • Loading branch information
joseivanlopez and jreidinger committed Oct 8, 2021
1 parent d3c5b87 commit 9f71a50
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 606 deletions.
2 changes: 1 addition & 1 deletion test/lib/y2users/config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
groups = subject.groups

expect(groups).to be_a(Y2Users::GroupsCollection)
expect { groups.add(Y2Users::User.new("test")) }.to raise_error(RuntimeError)
expect { groups.add(Y2Users::Group.new("test")) }.to raise_error(RuntimeError)
end

context "when there are no attached groups" do
Expand Down
Loading

0 comments on commit 9f71a50

Please sign in to comment.