spec/integration/preferences_spec.rb in patch_ruby-1.8.0 vs spec/integration/preferences_spec.rb in patch_ruby-1.9.0
- old
+ new
@@ -1,11 +1,5 @@
RSpec.describe 'Preferences Integration' do
- before do
- Patch.configure do |config|
- config.access_token = ENV['SANDBOX_API_KEY']
- end
- end
-
it 'supports create, delete, retrieve and list' do
retrieve_projects_response = Patch::Project.retrieve_projects
expect(retrieve_projects_response.data.length).not_to be_zero
project_id = retrieve_projects_response.data.first.id