Sha256: fc59f85bac2661a486846f3a8e525c8ba21300ef4ade92b62bcadddb4eaa76e4
Contents?: true
Size: 607 Bytes
Versions: 13
Compression:
Stored size: 607 Bytes
Contents
require 'spec_helper' describe 'CourseChanged' do let(:course_json) do {slug: 'test/bar', shifts: %w(morning), code: 'k2003', days: %w(monday wednesday), period: '2016', description: 'test course'} end let!(:course) { Course.import_from_json! course_json } it { expect(course.organization.courses).to include course } it { expect(course.organization.name).to eq 'test' } it { expect(course.slug).to eq 'test/bar' } it { expect(course.code).to eq 'k2003' } it { expect(course.days).to eq %w(monday wednesday) } it { expect(course.period).to eq '2016' } end
Version data entries
13 entries across 13 versions & 1 rubygems