Sha256: 821f7f3a0075b4fd82167408be49ea3fd12ecbb08646641573a220ee22dafc71

Contents?: true

Size: 476 Bytes

Versions: 14

Compression:

Stored size: 476 Bytes

Contents

require 'rails_helper'
require 'byebug'

RSpec.describe KepplerFrontend::Urls::Assets, type: :services do

  context 'assets urls' do

    before(:all) do
      @root = KepplerFrontend::Urls::Roots.new
    end

    context 'rails root' do
      it { expect(@root.keppler_root).to eq(Rails.root) }
    end

    context 'front urls' do
      let(:result) {"#{@root.keppler_root}/rockets/keppler_frontend"} 

      it { expect(@root.rocket_root).to eq(result) }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.17 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.16 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.15 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.14 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.13 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.12 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.11 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.10 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.9 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.8 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.7 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.6 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb
keppler-2.1.5 installer/core/spec/services/keppler_frontend/urls/roots_spec.rb