From bc3c90a1965ea6d0b5a2d84e7490055e899fb692 Mon Sep 17 00:00:00 2001 From: Jearvon Dharrie Date: Wed, 31 Oct 2018 00:57:36 -0400 Subject: [PATCH] Use ruby rspec convention in group spec --- spec/group_spec.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/spec/group_spec.rb b/spec/group_spec.rb index 44c985e..497f689 100644 --- a/spec/group_spec.rb +++ b/spec/group_spec.rb @@ -8,8 +8,13 @@ # See the License for the specific language governing permissions and # limitations under the License. require 'spec_helper' -RSpec.describe Vinyldns::API::Group do - first_group = Vinyldns::API::Group.list_my_groups['groups'].first + +describe Vinyldns::API::Group do + + let(:first_group) do + # A group is expected to exist for now + Vinyldns::API::Group.list_my_groups['groups'].first + end describe '.create' do it 'can POST & receives 409 Conflict connecting to an already existing group' do