diff options
Diffstat (limited to 'spec/gitlab_lfs_authentication_spec.rb')
-rw-r--r-- | spec/gitlab_lfs_authentication_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/gitlab_lfs_authentication_spec.rb b/spec/gitlab_lfs_authentication_spec.rb index f4fee77..ff715cf 100644 --- a/spec/gitlab_lfs_authentication_spec.rb +++ b/spec/gitlab_lfs_authentication_spec.rb @@ -5,11 +5,12 @@ describe GitlabLfsAuthentication do let(:user) { { 'username' => 'dzaporozhets', 'lfs_token' => 'wsnys8Zm8Jn7zyhHTAAK' } } subject do - GitlabLfsAuthentication.new(user, 'http://gitlab.dev/repo') + GitlabLfsAuthentication.new('dzaporozhets', 'wsnys8Zm8Jn7zyhHTAAK', 'http://gitlab.dev/repo') end describe '#initialize' do - it { subject.user.should == user } + it { subject.username.should == 'dzaporozhets' } + it { subject.lfs_token.should == 'wsnys8Zm8Jn7zyhHTAAK' } it { subject.repository_http_path.should == 'http://gitlab.dev/repo' } end |