Sha256: dca3851bc07696251aff864c84f8f3e98753bb39d7d72ecc5fc5e5f4b06ce080

Contents?: true

Size: 391 Bytes

Versions: 9

Compression:

Stored size: 391 Bytes

Contents

require "spec_helper"

describe "home" do
  let(:app) { Octodmin::App.new(File.expand_path("../..", __dir__)) }

  describe "home" do
    before { get "/" }
    subject { last_response.body }

    it "returns home" do
      expect(subject).to include("<!DOCTYPE html>")
      expect(subject).to include("/assets/app.css")
      expect(subject).to include("/assets/app.js")
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
octodmin-0.3.5 spec/frontend/home_spec.rb
octodmin-0.3.4 spec/frontend/home_spec.rb
octodmin-0.3.3 spec/frontend/home_spec.rb
octodmin-0.3.2 spec/frontend/home_spec.rb
octodmin-0.3.1 spec/frontend/home_spec.rb
octodmin-0.3.0 spec/frontend/home_spec.rb
octodmin-0.2.1 spec/frontend/home_spec.rb
octodmin-0.2.0 spec/frontend/home_spec.rb
octodmin-0.1.0 spec/frontend/home_spec.rb