test/lib/nephophobia/project_test.rb in nephophobia-0.0.1 vs test/lib/nephophobia/project_test.rb in nephophobia-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
require "test_helper"
describe Nephophobia::Project do
before do
- @project = Nephophobia::Project.new ADMIN_CLIENT
- @user = Nephophobia::User.new ADMIN_CLIENT
+ @project = ADMIN_CLIENT.project
+ @user = ADMIN_CLIENT.user
@user_name = "foobar_user"
@project_name = "foobar_project"
end
describe "#add_member" do