Skip to content

Commit

Permalink
Remove duplicate specs
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Apr 30, 2023
1 parent ff5f0ad commit 7a3668e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions spec/rcfile_spec.rb
Expand Up @@ -38,20 +38,6 @@
}
expect(rcfile['testcli'].keys).to eq %w[abc123]
end
it 'writes the data to a file' do
rcfile = T::RCFile.instance
rcfile.path = project_path + '/tmp/trc'
rcfile['testcli'] = {
'abc123' => {
username: 'testcli',
consumer_key: 'abc123',
consumer_secret: 'def456',
token: 'ghi789',
secret: 'jkl012',
},
}
expect(rcfile['testcli'].keys).to eq %w[abc123]
end
it 'is not be world writable' do
rcfile = T::RCFile.instance
rcfile.path = project_path + '/tmp/trc'
Expand Down Expand Up @@ -121,12 +107,6 @@
rcfile.active_profile = {'username' => 'testcli', 'consumer_key' => 'abc123'}
expect(rcfile.active_profile).to eq %w[testcli abc123]
end
it 'writes the data to a file' do
rcfile = T::RCFile.instance
rcfile.path = project_path + '/tmp/trc'
rcfile.active_profile = {'username' => 'testcli', 'consumer_key' => 'abc123'}
expect(rcfile.active_profile).to eq %w[testcli abc123]
end
end

describe '#active_token' do
Expand Down

0 comments on commit 7a3668e

Please sign in to comment.