diff options
Diffstat (limited to 'spec/lib/mattermost')
-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) |