diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-21 01:17:32 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-21 01:17:32 +0300 |
commit | 22a0567823e792bd760ced79539a0b2c4bfd8f5e (patch) | |
tree | 8de6dfef6ea19ca18dcdbdd736ec48f21b02a198 /spec/lib/mattermost/team_spec.rb | |
parent | 70dcd45de207992b77b23175d7ed9e4643342f72 (diff) |
Fix a few error messages
Diffstat (limited to 'spec/lib/mattermost/team_spec.rb')
-rw-r--r-- | spec/lib/mattermost/team_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/lib/mattermost/team_spec.rb b/spec/lib/mattermost/team_spec.rb index ef39c456d5f..704579f0f48 100644 --- a/spec/lib/mattermost/team_spec.rb +++ b/spec/lib/mattermost/team_spec.rb @@ -3,9 +3,6 @@ require 'spec_helper' describe Mattermost::Team do describe '#all' do let(:user) { build(:user) } - - subject { described_class.new(user) } - let(:response) do [{ "id" => "xiyro8huptfhdndadpz8r3wnbo", @@ -22,6 +19,7 @@ describe Mattermost::Team do "allow_open_invite" => false }] end + subject { described_class.new(user) } before do allow(subject).to receive(:json_get).and_return(response) |