Sha256: 719633950626f0617f255835a587a1f222ee49689cf224b6187554914a09f8d4

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require 'rails_helper'

RSpec.describe "base/index.html.erb", :js => true do
  it "should show calendar" do
    visit root_path
    expect(page).to have_css('div.clndr')
  end

  it "should have full calendar" do
      expect(page).to have_css('div.event-listing')
  end

  it "should have blank calendar" do
      expect(page).to have_selector('table')
  end



end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clndr-rails-1.2.5.1 test/dummy/spec/views/base/index.html.erb_spec.rb