Sha256: 54abab3ca7804a0480e1bcf50c3eea1b54b67f525c1063b721bbd83d5e2f87d2

Contents?: true

Size: 490 Bytes

Versions: 2

Compression:

Stored size: 490 Bytes

Contents

require "rails_helper"

RSpec.describe Genkan do
  describe ".configure" do
    example do
      expect {
        described_class.configure do |config|
          config.user_class_name = "User"
        end
      }.not_to raise_error
    end
  end

  describe ".config" do
    subject { described_class.config }
    it { is_expected.to be_an_instance_of Genkan::Config }
  end

  describe "version" do
    subject { described_class::VERSION }
    it { is_expected.to be_a String }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genkan-0.2.3 spec/lib/genkan_spec.rb
genkan-0.2.2 spec/lib/genkan_spec.rb