test/workspace_test.rb in tracker_api-1.9.1 vs test/workspace_test.rb in tracker_api-1.10.0
- old
+ new
@@ -10,16 +10,16 @@
it 'gets all projects for this workspace' do
VCR.use_cassette('get workspace projects', record: :new_episodes) do
workspace = client.workspace(pt_user[:workspace_id], fields: ':default,projects(id,name)')
projects = workspace.projects
- projects.wont_be_empty
+ _(projects).wont_be_empty
- projects.size.must_equal 2
- projects.first.must_be_instance_of TrackerApi::Resources::Project
+ _(projects.size).must_equal 2
+ _(projects.first).must_be_instance_of TrackerApi::Resources::Project
- pt_user[:project_ids].must_include projects.first.id
- pt_user[:project_ids].must_include projects.last.id
+ _(pt_user[:project_ids]).must_include projects.first.id
+ _(pt_user[:project_ids]).must_include projects.last.id
end
end
end
end