{"action":"closed","issue":{"url":"https://api.github.com/repos/Sology/smart_listing/issues/75","repository_url":"https://api.github.com/repos/Sology/smart_listing","labels_url":"https://api.github.com/repos/Sology/smart_listing/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Sology/smart_listing/issues/75/comments","events_url":"https://api.github.com/repos/Sology/smart_listing/issues/75/events","html_url":"https://github.com/Sology/smart_listing/issues/75","id":125572973,"number":75,"title":"Using Rspec test view with Smart Listing","user":{"login":"XjulI1","id":13014960,"avatar_url":"https://avatars.githubusercontent.com/u/13014960?v=3","gravatar_id":"","url":"https://api.github.com/users/XjulI1","html_url":"https://github.com/XjulI1","followers_url":"https://api.github.com/users/XjulI1/followers","following_url":"https://api.github.com/users/XjulI1/following{/other_user}","gists_url":"https://api.github.com/users/XjulI1/gists{/gist_id}","starred_url":"https://api.github.com/users/XjulI1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XjulI1/subscriptions","organizations_url":"https://api.github.com/users/XjulI1/orgs","repos_url":"https://api.github.com/users/XjulI1/repos","events_url":"https://api.github.com/users/XjulI1/events{/privacy}","received_events_url":"https://api.github.com/users/XjulI1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-08T09:17:50Z","updated_at":"2016-08-29T11:32:25Z","closed_at":"2016-08-29T11:32:25Z","body":"Hello,\r\n\r\nI have a problem with my Rspec View tests and Smart Listing. How can I used the gem to mock/use the function \"smart_listing_render\" ? Because when I launch my tests, Rspec does not recognize the function.\r\n\r\nActionView::Template::Error: undefined method `smart_listing_render' for #<#<Class:0x007f96702a8b50>:0x007f96702802e0>\r\n./app/views/backoffice/dossiers/index.html.haml:4:in `_app_views_backoffice_dossiers_index_html_haml__2296039462971417529_70142073117820'\r\n./spec/views/backoffice/dossiers/index_html.haml_spec.rb:66:in `block (3 levels) in <top (required)>'\r\n-e:1:in `<main>'\r\n\r\nThanks"}}
{"actor":{"display_login":"ljachymczyk"}}