Last active
August 29, 2015 14:05
-
-
Save noili/7cd28459a79aac92121d to your computer and use it in GitHub Desktop.
step_controller.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test "shold return all file records that are currently in an office" do | |
| file_records = [file_records(:legal), file_records(:armas)] | |
| get :index, file_record: | |
| {q: {step_office_name_cont: 'Archivo'}} | |
| assert response.body == file_records.to_json | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment