Modified: Create methods of helper.

improved **rspec**.