{"action":"closed","issue":{"url":"https://api.github.com/repos/swt2-intro-exercise/rails-exercise-18-BraunTom/issues/4","repository_url":"https://api.github.com/repos/swt2-intro-exercise/rails-exercise-18-BraunTom","labels_url":"https://api.github.com/repos/swt2-intro-exercise/rails-exercise-18-BraunTom/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/swt2-intro-exercise/rails-exercise-18-BraunTom/issues/4/comments","events_url":"https://api.github.com/repos/swt2-intro-exercise/rails-exercise-18-BraunTom/issues/4/events","html_url":"https://github.com/swt2-intro-exercise/rails-exercise-18-BraunTom/issues/4","id":374126716,"node_id":"MDU6SXNzdWUzNzQxMjY3MTY=","number":4,"title":"Author should have first name, last name, and homepage","user":{"login":"swt2public","id":18719119,"node_id":"MDQ6VXNlcjE4NzE5MTE5","avatar_url":"https://avatars3.githubusercontent.com/u/18719119?v=4","gravatar_id":"","url":"https://api.github.com/users/swt2public","html_url":"https://github.com/swt2public","followers_url":"https://api.github.com/users/swt2public/followers","following_url":"https://api.github.com/users/swt2public/following{/other_user}","gists_url":"https://api.github.com/users/swt2public/gists{/gist_id}","starred_url":"https://api.github.com/users/swt2public/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swt2public/subscriptions","organizations_url":"https://api.github.com/users/swt2public/orgs","repos_url":"https://api.github.com/users/swt2public/repos","events_url":"https://api.github.com/users/swt2public/events{/privacy}","received_events_url":"https://api.github.com/users/swt2public/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T20:49:13Z","updated_at":"2018-10-27T11:16:22Z","closed_at":"2018-10-27T11:16:22Z","author_association":"NONE","body":"### Scenario\nWhen an author is created with first name 'Alan', last name 'Turing', and homepage 'http://wikipedia.org/Alan_Turing'\nThen an instance of Author should be created\n\n### Hints\nThis feature requests model behavior and should be tested in a model test. Create the test file `spec/models/author_spec.rb` \nand in the `describe` block, specify `type: :model`.\n\nIn a model test, behavior is tested directly on the model object, e.g.\n```\nauthor = Author.new(...)\nexpect(author.first_name).to eq(...)\n```\n\nThe `eq` matcher tests for [object equivalence](https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/equality-matchers) in RSpec.\nFor more general purpose matchers, see [this reference](https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers).\n\nThe author model should have a `first_name`, `last_name` and `homepage`, which are all strings.\nIt should furthermore have a method `name` which returns the full name of an author (the first name followed by the last name), e.g. 'Alan Turing'.\n\nTo pass your test a Rails model for authors must be created. Rails features [`generators`](https://guides.rubyonrails.org/command_line.html#rails-generate) which make creating things easier. You can answer 'no' when Rails asks if you want to overwrite files, then your edited files stay the way they are.\nHelp can be found in the following part of the [Rails guide](https://guides.rubyonrails.org/getting_started.html#creating-the-article-model).\nAdditional behavior of models can be specified in the corresponding model's file, e.g. `app/models/author.rb` using standard [Ruby syntax](http://ruby-for-beginners.rubymonstas.org/writing_classes/methods.html).\n\n\n### Error\n> Got NameError: uninitialized constant Author\n\n*Estimated progress: 11% complete*"}}
{"actor":{"display_login":"BraunTom"}}