Sha256: a182672c3dd0c51b17791a5d1d74bccdb7d3ebdbaff9a05ad575e13d607fd6f4

Contents?: true

Size: 325 Bytes

Versions: 9

Compression:

Stored size: 325 Bytes

Contents

require "spec_helper"

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

  describe "show" do
    before { get "/api/version" }
    subject { parse_json(last_response.body)["versions"] }

    it "returns version" do
      expect(subject).to eql(Octodmin::VERSION)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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