{"action":"created","issue":{"url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/169","repository_url":"https://api.github.com/repos/makersacademy/slack-overflow","labels_url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/169/comments","events_url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/169/events","html_url":"https://github.com/makersacademy/slack-overflow/issues/169","id":132691803,"number":169,"title":"chall 10 Bookmark_manager STUCK!","user":{"login":"hedudelgado","id":15792687,"avatar_url":"https://avatars.githubusercontent.com/u/15792687?v=3","gravatar_id":"","url":"https://api.github.com/users/hedudelgado","html_url":"https://github.com/hedudelgado","followers_url":"https://api.github.com/users/hedudelgado/followers","following_url":"https://api.github.com/users/hedudelgado/following{/other_user}","gists_url":"https://api.github.com/users/hedudelgado/gists{/gist_id}","starred_url":"https://api.github.com/users/hedudelgado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedudelgado/subscriptions","organizations_url":"https://api.github.com/users/hedudelgado/orgs","repos_url":"https://api.github.com/users/hedudelgado/repos","events_url":"https://api.github.com/users/hedudelgado/events{/privacy}","received_events_url":"https://api.github.com/users/hedudelgado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-10T12:52:10Z","updated_at":"2016-02-10T14:39:36Z","closed_at":null,"body":"I completed challenge 9, starting the 10 everything is normal, the right error at that point, and then once I finished the challenge 10, it all should be working, in addition I did follow the solution step by step, still, not working.. any clue? \r\n\r\n## This is my app.rb\r\n```\r\nrequire 'sinatra/base'\r\nrequire_relative 'models/link'\r\n#require 'tilt/erb'\r\n```\r\n```\r\nclass BookmarkManager < Sinatra::Base\r\n  get '/links' do\r\n    @links = Link.all\r\n    erb :'links/index'\r\n  end\r\n  #run! if app_file == $0\r\nend\r\n```\r\n\r\n## this is my link class \r\n```\r\nrequire 'data_mapper'\r\nrequire 'dm-postgres-adapter'\r\n```\r\n```\r\nclass Link\r\n  include DataMapper::Resource\r\n  property :id,     Serial \r\n  property :title,  String\r\n  property :url,    String\r\nend\r\n```\r\n```\r\nDataMapper.setup(:default, \"postgres://localhost/bookmark_manager_test\")\r\nDataMapper.finalize\r\nDataMapper.auto_upgrade!\r\n```\r\n\r\n\r\n## this is my spec_helper:\r\n```\r\nRequire 'capybara/rspec'\r\nrequire './app/app'\r\nrequire './app/models/link'\r\nCapybara.app = BookmarkManager\r\n```\r\n```\r\n\r\nRSpec.configure do |config|\r\n  config.expect_with :rspec do |expectations|\r\n    expectations.include_chain_clauses_in_custom_matcher_descriptions = true\r\n  end\r\n  config.mock_with :rspec do |mocks|\r\n    mocks.verify_partial_doubles = true\r\n  end\r\nend\r\n```\r\n## this is my error..\r\n\r\nFailures:\r\n\r\n  1) Viewing links I can see existing links on the links page\r\n     Failure/Error: expect(page.status_code).to eq 200\r\n     \r\n       expected: 200\r\n            got: 404\r\n     \r\n       (compared using ==)\r\n     # ./spec/viewing_links_spec.rb:6:in `block (2 levels) in <top (required)>'\r\n\r\nFinished in 0.18148 seconds (files took 1.04 seconds to load)\r\n1 example, 1 failure\r\n"},"comment":{"url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/comments/182401108","html_url":"https://github.com/makersacademy/slack-overflow/issues/169#issuecomment-182401108","issue_url":"https://api.github.com/repos/makersacademy/slack-overflow/issues/169","id":182401108,"user":{"login":"hedudelgado","id":15792687,"avatar_url":"https://avatars.githubusercontent.com/u/15792687?v=3","gravatar_id":"","url":"https://api.github.com/users/hedudelgado","html_url":"https://github.com/hedudelgado","followers_url":"https://api.github.com/users/hedudelgado/followers","following_url":"https://api.github.com/users/hedudelgado/following{/other_user}","gists_url":"https://api.github.com/users/hedudelgado/gists{/gist_id}","starred_url":"https://api.github.com/users/hedudelgado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedudelgado/subscriptions","organizations_url":"https://api.github.com/users/hedudelgado/orgs","repos_url":"https://api.github.com/users/hedudelgado/repos","events_url":"https://api.github.com/users/hedudelgado/events{/privacy}","received_events_url":"https://api.github.com/users/hedudelgado/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T14:39:36Z","updated_at":"2016-02-10T14:39:36Z","body":"It does not arnold, I think it would actually break the structure, wouldn't it? I mean, I have to keep an standard structure isnt it?"}}