ruby on rails - RSpec - Get Described Class -
How do I get the main square described in RSPC 3? For example, I have the following questions:
Describe the user "fetching" to describe "all" {{described_clash.New} end-end < / Pre> topic currently returns something similar to User :: fetching :: all , but I want to return it to user / Want to
Not sure that I understand your question correctly, but as far as I can see If you just want to get a class, continuous name within your test, just what do you want by using described_close (without .new )? > class user; The end user's subject ({described_clash}} describes it {is_expected.to eq (User)} and
Comments
Post a Comment