Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Specs] Remove blocks used to configure objects backed by the DSL #93

Closed
fabiopelosin opened this issue Apr 3, 2014 · 4 comments
Closed

Comments

@fabiopelosin
Copy link
Member

The objects should be configured using the API offered for programmatic access.

Example

@alloy
Copy link
Member

alloy commented Apr 3, 2014

Why?

(Specs are often handy as they show how an API should be used. I.e. BDD.)

@fabiopelosin
Copy link
Member Author

Mostly styling (the other way is less verbose and more consisted with the language as it avoid nesting blocks). Still I think that this ticket makes more sense for non DSL files where the DSL was used for laziness (creation of subspecs).

@alloy
Copy link
Member

alloy commented Apr 3, 2014

Still I think that this ticket makes more sense for non DSL files where the DSL was used for laziness (creation of sub specs).

Ah yes, I see your point now. 👍

@fabiopelosin
Copy link
Member Author

I've changed my mind: those specs are doing their job finely and should be changed only when other work is done on them. Also I checked them again and didn't find strong examples of verbosity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants