Sha256: 9c30b90864ca6a59877f813ea64db663cfad72fc748486dca6b93a746320aac4

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

# For the moment, this file is a double-check. For the main tests, see the controller
# specs of the groups controller.
#
feature 'Group Member List Export' do
  include SessionSteps
  
  before do
    @group = create :group, :with_members

    login :admin
  end
  
  scenario 'exporting a birthday list as csv', :focus do
    visit group_path @group, list: 'birthday_list', format: 'csv'
    page.should have_text @group.members.first.last_name
  end 
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 spec/features/group_export_spec.rb
your_platform-1.0.0 spec/features/group_export_spec.rb
your_platform-0.0.2 spec/features/group_export_spec.rb