Sha256: 88b8f9716b5bfd59cfe3a6938f4f9c0bbc4247d2197a04a697373f99e02ae311
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
require "spec_helper" describe "Server info", type: :request do before do visit "/" within(".navbar") { click_link "Server Info" } end it "has a valid title" do within "h2" do expect(page).to have_content("server info") end end it "displays information about the server" do within "table" do %w(version gitVersion sysInfo versionArray bits debug maxBsonObjectSize ok).each do |field| expect(page).to have_content(field) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongo_browser-0.1.3 | spec/features/server_info_spec.rb |
mongo_browser-0.1.2 | spec/features/server_info_spec.rb |
mongo_browser-0.1.1 | spec/features/server_info_spec.rb |