{"action":"closed","issue":{"url":"https://api.github.com/repos/lotus/lotus/issues/224","labels_url":"https://api.github.com/repos/lotus/lotus/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/lotus/lotus/issues/224/comments","events_url":"https://api.github.com/repos/lotus/lotus/issues/224/events","html_url":"https://github.com/lotus/lotus/issues/224","id":77586347,"number":224,"title":"Model generator creates wrong RSpec files.","user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lotus/lotus/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"nguyenngoc2505","id":3872648,"avatar_url":"https://avatars.githubusercontent.com/u/3872648?v=3","gravatar_id":"","url":"https://api.github.com/users/nguyenngoc2505","html_url":"https://github.com/nguyenngoc2505","followers_url":"https://api.github.com/users/nguyenngoc2505/followers","following_url":"https://api.github.com/users/nguyenngoc2505/following{/other_user}","gists_url":"https://api.github.com/users/nguyenngoc2505/gists{/gist_id}","starred_url":"https://api.github.com/users/nguyenngoc2505/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguyenngoc2505/subscriptions","organizations_url":"https://api.github.com/users/nguyenngoc2505/orgs","repos_url":"https://api.github.com/users/nguyenngoc2505/repos","events_url":"https://api.github.com/users/nguyenngoc2505/events{/privacy}","received_events_url":"https://api.github.com/users/nguyenngoc2505/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/lotus/lotus/milestones/5","html_url":"https://github.com/lotus/lotus/milestones/v0.3.2","labels_url":"https://api.github.com/repos/lotus/lotus/milestones/5/labels","id":1109916,"number":5,"title":"v0.3.2","description":"","creator":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":11,"state":"open","created_at":"2015-05-14T09:44:08Z","updated_at":"2015-05-22T02:58:25Z","due_on":"2015-05-21T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-05-18T09:46:47Z","updated_at":"2015-05-22T02:58:25Z","closed_at":"2015-05-22T02:58:25Z","body":"How to reproduce this:\r\n\r\n```shell\r\nlotus new bookshelf --test=rspec && cd bookshelf && bundle\r\nbundle exec lotus generate model user\r\n```\r\n\r\nIf we look at `spec/bookshelf/entities/user_spec.rb`, it doesn't honor RSpec new way to define specs.\r\n\r\n### Expected\r\n\r\n```ruby\r\nrequire 'spec_helper'\r\n\r\nRSpec.describe User do\r\n  # place your tests here\r\nend\r\n```\r\n\r\n### Actual\r\n\r\n```ruby\r\nrequire 'spec_helper'\r\n\r\ndescribe User do\r\n  # place your tests here\r\nend\r\n```\r\n\r\n/cc @joneslee85 "}}