Sha256: 69f1561f96e6cd41eb19706833f7a661acb2aea35534be168687ef694a62deed

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'
require 'support/requests/avatarable_spec'

describe 'Teacher Picture' do

  before { as :admin }

  let(:teacher) { create(:teacher) }

  before do
    visit gaku.edit_teacher_path(teacher)
  end

  context 'avatarable' do

    before { @file_name = 'teacher_picture' }
    it_behaves_like 'new avatar'

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gaku-0.0.3 core/spec/requests/teachers/picture_spec.rb
gaku-0.0.2 core/spec/requests/teachers/picture_spec.rb
gaku-0.0.1 core/spec/requests/teachers/picture_spec.rb